"For those seeking to switch to en-us, i've been able to do it without downloading anything, as it seems pre-installed." - seeker_of_bacon
-
- Windows 11 (
x64) - Windows PowerShell (
Admin mode)
- Windows 11 (
| #!/usr/bin/env bash | |
| # print usage | |
| DOMAIN=$1 | |
| if [ -z "$1" ]; then | |
| echo "USAGE: $0 tld" | |
| echo "" | |
| echo "This will generate a non-secure self-signed wildcard certificate for " | |
| echo "a given development tld." | |
| echo "This should only be used in a development environment." |
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
| REM Delete eval folder with licence key and options.xml which contains a reference to it | |
| for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
| for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
| rd /s /q "%%a/config/eval" | |
| del /q "%%a\config\options\other.xml" | |
| ) | |
| ) | |
| REM Delete registry key and jetbrains folder (not sure if needet but however) | |
| rmdir /s /q "%APPDATA%\JetBrains" |
| {%- set image_count = namespace(value=0) %} | |
| {%- set video_count = namespace(value=0) %} | |
| {%- macro render_content(content, do_vision_count, is_system_content=false) %} | |
| {%- if content is string %} | |
| {{- content }} | |
| {%- elif content is iterable and content is not mapping %} | |
| {%- for item in content %} | |
| {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} | |
| {%- if is_system_content %} | |
| {{- raise_exception('System message cannot contain images.') }} |
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = [ | |
| # "click", | |
| # "mistralai", | |
| # "markdown", | |
| # "requests", | |
| # "beautifulsoup4", | |
| # ] | |
| # /// |
Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.
Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.
| #include "cola.h" | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| //Estructuras Cola y Nodo | |
| struct nodo{ | |
| void* dato; | |
| struct nodo* sig; | |
| } typedef nodo_t; |
| name | short_name | url | |
|---|---|---|---|
| GNU General Public License (GPL) version 3 | GNUGPLv3 | https://www.gnu.org/licenses/gpl.html | |
| GNU General Public License (GPL) version 2 | GPLv2 | https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
| GNU Lesser General Public License (LGPL) version 3 | LGPLv3 | https://www.gnu.org/licenses/lgpl.html | |
| GNU Lesser General Public License (LGPL) version 2.1 | LGPLv2.1 | https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html | |
| GNU Affero General Public License (AGPL) version 3 | AGPLv3.0 | https://www.gnu.org/licenses/agpl.html | |
| GNU All-Permissive License | GNUAllPermissive | https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html | |
| Apache License, Version 2.0 | apache2 | http://directory.fsf.org/wiki/License:Apache2.0 | |
| Artistic License 2.0 | ArtisticLicense2 | http://directory.fsf.org/wiki/License:ArtisticLicense2.0 | |
| Clarified Artistic License | ClarifiedArtisticLicense | http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/ |